package project.temp_no_use.WebcamTest;

import com.github.sarxos.webcam.Webcam;
import javax.imageio.ImageIO;
import java.io.File;
import java.io.IOException;

public class Temp1 {
    public static void main(String[] args) throws IOException {
        //webcam_Hello_World
        Webcam w = Webcam.getDefault();
        w.open();
        ImageIO.write(w.getImage(),"PNG",new File("hello-world.png"));
    }
}
